// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .CS}

//-------------MAIN---------------
thread 'CSH' 


REPEAT 
WAIT 0
IF 0AAB: file_exists "CLEO\KEYS.INI"
THEN         
0AF0: 12@ "CLEO\KEYS.INI" "FIRE_CARS_CARS" "FIRE_KEY"
0AF0: 13@ "CLEO\KEYS.INI" "FIRE_CARS_CARS" "HMODEL_KEY"
END 
UNTIL IF 0AAB: file_exists "CLEO\KEYS.INI"


28@ = 400 
27@ = 0 

:CSH_485
wait 7 
if 
   Player.Defined($PLAYER_CHAR)
jf @CSH_505 
if 
   Actor.Driving($PLAYER_ACTOR)
jf @CSH_505 
if 
0AB0: 12@
jf @CSH_505 
if 
  28@ > 609 
jf @CSH_4D5 
28@ = 400 

:CSH_4D5
if 
   not 28@ > 609 
jf @CSH_501 
28@ += 1 
0513: show_text_box_1number 'NUMBER' number 28@  // ~1~
wait 50 

:CSH_501
wait 0 

:CSH_505
if 
   Actor.Driving($PLAYER_ACTOR)
jf @CSH_773 
if 
0AB0: 13@ 
jf @CSH_773 
if or
  28@ == 430 
  28@ == 446 
  28@ == 449 
  28@ == 452 
  28@ == 453 
  28@ == 454 
  28@ == 464 
  28@ == 472 
jf @CSH_57C 
03E5: show_text_box 'ERROR' 

:CSH_57C
if or
  28@ == 473 
  28@ == 484 
  28@ == 493 
  28@ == 537 
  28@ == 538 
  28@ == 539 
  28@ == 569 
  28@ == 570 
jf @CSH_5D2 
03E5: show_text_box 'ERROR' 

:CSH_5D2
if and
  28@ == 590 
  28@ == 595 
jf @CSH_5F8 
03E5: show_text_box 'ERROR' 

:CSH_5F8
if and
   not 28@ == 430 
   not 28@ == 446 
   not 28@ == 449 
   not 28@ == 452 
   not 28@ == 453 
   not 28@ == 454 
   not 28@ == 464 
   not 28@ == 472 
jf @CSH_773 
if and
   not 28@ == 473 
   not 28@ == 484 
   not 28@ == 493 
   not 28@ == 537 
   not 28@ == 538 
   not 28@ == 539 
   not 28@ == 569 
   not 28@ == 570 
jf @CSH_773 
if and
   not 28@ == 590 
   not 28@ == 595 
jf @CSH_773 
Model.Load(28@)
038B: load_requested_models 

:CSH_6B0
wait 0 
if 
   Model.Available(28@)
jf @CSH_6CB 
jump @CSH_6D2 

:CSH_6CB
jump @CSH_6B0 

:CSH_6D2
0819: 6@ = actor $PLAYER_ACTOR distance_from_ground 
6@ += 0.6 
04C4: store_coords_to 1@ 2@ 0@ from_actor $PLAYER_ACTOR with_offset 0.0 4.0 6@ 
4@ = Car.Create(28@, 1@, 2@, 0@)
Car.Destroy(4@)
Car.RemoveReferences(4@)
4@ = Car.Create(28@, 1@, 2@, 0@)
09F7: play_audio_at_car 4@ event 1157 
Car.RemoveReferences(4@)
10@ = Actor.Angle($PLAYER_ACTOR)
Car.Angle(4@) = 10@
Car.SetSpeedInstantly(4@, 274.0)
27@ += 1 
01E5: show_text_1number_highpriority GXT 'NUMBER' number 27@ time 100 flag 1  // ~1~
03F0: enable_text_draw 0 
wait 100 

:CSH_773
jump @CSH_485
